package com.tanhua.dubbo.server.enums;

import com.baomidou.mybatisplus.core.enums.IEnum;

public enum TopState implements IEnum<Integer> {
    NOT_TOPPED(1,"未置顶"),
    TOPPING(2,"置顶");
    private int value;
    private String desc;

    TopState(int value, String desc) {
        this.value = value;
        this.desc = desc;
    }

    @Override
    public Integer getValue() {
        return this.value;
    }

    @Override
    public String toString() {
        return this.desc;
    }

}